const query = require('../public/connent.js')


module.exports = (ctx, next) => {
  const {id} = ctx.request.body
  query(`UPDATE userinfo SET loging=0 WHERE id=${id}`)
}